import { Module } from "@nestjs/common";
import { UserController } from "./controller/user.controller";
import { UserService } from "./service/user.service";

@Module({
    imports:[],
    controllers:[UserController],
    providers:[UserService],
    //将userservice添加到export数组进行导出，允许其他模块导入
    exports:[UserService]
})
export class CoreMoudle{}